.all{background: rgb(0,171,217);padding-top: 20px;}

.one{width: 240px;  box-shadow: 10px 10px 0 0 rgba(0,0,0,0.2);
margin:0 auto;background: white; position: relative;}
.one div{
	background:black;color:white;
	position: absolute;
	bottom: 0px;
	height: 50px;
	overflow: hidden;
	transition: 1s;
	}
	.one:hover div{
		height: 100px;
	}

.two{width: 268px; margin:0 auto;background: white;margin-top:20px;
     position: relative;
	 overflow: hidden;
 }


.two .t1{
    display: inline-block;
    border: 1px solid #05920a;
    background: #05920a;
    color: #fff;
	padding: 5px;
	margin: 5px;
	position: absolute;
	left: 0;
	top: -40px;
	transition: 1px;

}
.two:hover .t1{
	top: 0px;
}

.two .t2 {
	margin: 5px;
	display: inline-block;
    color: #f25751;
    border: solid 1px #f25751;
	padding: 5px;
	background: white;
	position: absolute;
	right: 0px;
	top: -40px;
	transition: 1s;
}
.two:hover .t2{
	transform: translateY(40px);
}

.three{

	background: white;
	width: 380px;
	margin:0 auto;
	margin-top:20px;
	opacity: 0.5;
	position: relative;
	transition: 1s;
}
.three:hover{
	opacity: 1;
}
.three div{
	position: absolute;
	bottom: 10px;
	background: black;
	color: white;
	transition: 1s;
	z-index: 2;
	width: 100%;
	transform: rotateX(100deg);
	transform-origin:left  bottom; 
}
	
.three:hover div{
   transform: rotateX(0deg);
}